-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] Replace usage of deprecated GetAttribute method in tests
#14872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dotnet] Replace usage of deprecated GetAttribute method in tests
#14872
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
Points to discuss: 1.
|
This reverts commit 0b13270.
|
OK, now I should seat and carefully de-duplicate |
…va implementation
GetAttribute method in testsGetAttribute method in tests
|
Ready for review. |
|
@nvborisenko good job, thanks for contribution! |
User description
Description
Use another method instead of
GetAttribute().Motivation and Context
GetAttribute()will be removed soon, we should not rely on it.Types of changes
Checklist
PR Type
Tests
Description
GetAttributemethod withGetDomPropertyandGetDomAttributein various test files.GetDomPropertyfor value checks andGetDomAttributefor id and name checks.Changes walkthrough 📝
15 files
DefaultKeyboardTest.cs
Update value assertions to use GetDomPropertydotnet/test/common/BiDi/Input/DefaultKeyboardTest.cs
GetAttributewithGetDomPropertyfor value assertions.ChildrenFindingTest.cs
Use GetDomAttribute for id and name assertionsdotnet/test/common/ChildrenFindingTest.cs
GetAttributewithGetDomAttributefor id and name assertions.ClearTest.cs
Update value assertions to use GetDomPropertydotnet/test/common/ClearTest.cs
GetAttributewithGetDomPropertyfor value assertions.CorrectEventFiringTest.cs
Update value assertions to use GetDomPropertydotnet/test/common/CorrectEventFiringTest.cs
GetAttributewithGetDomPropertyfor value assertions.ElementAttributeTest.cs
Use GetDomAttribute and GetDomProperty for assertionsdotnet/test/common/ElementAttributeTest.cs
GetAttributewithGetDomAttributeandGetDomPropertyforvarious assertions.
ElementFindingTest.cs
Use GetDomAttribute and GetDomProperty for assertionsdotnet/test/common/ElementFindingTest.cs
GetAttributewithGetDomAttributeandGetDomPropertyfor idand value assertions.
ElementSelectingTest.cs
Use GetDomAttribute for id assertionsdotnet/test/common/ElementSelectingTest.cs
GetAttributewithGetDomAttributefor id assertions.ExecutingAsyncJavascriptTest.cs
Update value assertions to use GetDomPropertydotnet/test/common/ExecutingAsyncJavascriptTest.cs
GetAttributewithGetDomPropertyfor value assertions.FormHandlingTests.cs
Update value assertions to use GetDomPropertydotnet/test/common/FormHandlingTests.cs
GetAttributewithGetDomPropertyfor value assertions.FrameSwitchingTest.cs
Update value assertions to use GetDomPropertydotnet/test/common/FrameSwitchingTest.cs
GetAttributewithGetDomPropertyfor value assertions.I18Test.cs
Update value assertions to use GetDomPropertydotnet/test/common/I18Test.cs
GetAttributewithGetDomPropertyfor value assertions.BasicKeyboardInterfaceTest.cs
Update value assertions to use GetDomPropertydotnet/test/common/Interactions/BasicKeyboardInterfaceTest.cs
GetAttributewithGetDomPropertyfor value assertions.BasicMouseInterfaceTest.cs
Update value assertions to use GetDomPropertydotnet/test/common/Interactions/BasicMouseInterfaceTest.cs
GetAttributewithGetDomPropertyfor value assertions.CombinedInputActionsTest.cs
Update value assertions to use GetDomPropertydotnet/test/common/Interactions/CombinedInputActionsTest.cs
GetAttributewithGetDomPropertyfor value assertions.JavascriptEnabledBrowserTest.cs
Update value assertions to use GetDomPropertydotnet/test/common/JavascriptEnabledBrowserTest.cs
GetAttributewithGetDomPropertyfor value assertions.